package com.anti.modular.owner.ownerleasebilladjust.entity;

import com.anti.commom.support.model.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 业主账单表调整表
 *
 * @author anti
 * @date 2021-05-20 14:27:27
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name="owner_lease_bill_adjust")
public class OwnerLeaseBillAdjust extends BaseEntity {

    /**
     * 主键id
     */
    @Id
    private Long id;

    /**
     * 业主账单主键
     */
    private Long leaseBillId;

    /**
     * 租金调整(字典 1 涨  2 降)
     */
    private Integer adjustType;

    /**
     * 租金方式(字典 1 金额  2 百分比)
     */
    private Integer adjustStyle;

    /**
     * 调整值
     */
    private BigDecimal changeMoney;

    /**
     * 调整为
     */
    private BigDecimal rent;

    /**
     * 状态（字典 0正常 1注銷 2刪除）
     */
    private Integer status;

}
